package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

@Data
public class IncrementalLossCalculationDTO {
    @ApiModelProperty("权益道具id")
    @NotNull(message = "权益道具id不能为空")
    private Long propId;

    @Max(value = 20, message = "最大值不超过20")
    private Integer sum;
}
